package com.aggregate.pay.swiftpass.bean;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;

/**
 * 【威富通】支付通知API-通知参数
 * @author Moyq5
 * @date 2019年2月20日
 */
@JacksonXmlRootElement(localName = "xml")
public class NotifyData extends AbstractResult {

	@JacksonXmlProperty(localName = "result_code")
	private Integer resultCode;
	@JacksonXmlProperty(localName = "mch_id")
	private String mchId;
	@JacksonXmlProperty(localName = "nonce_str")
	private String nonceStr;
	@JacksonXmlProperty(localName = "err_code")
	private String errCode;
	@JacksonXmlProperty(localName = "err_msg")
	private String errMsg;
	@JacksonXmlProperty(localName = "sign")
	private String sign;
	@JacksonXmlProperty(localName = "openid")
	private String openid;
	@JacksonXmlProperty(localName = "trade_type")
	private String tradeType;
	@JacksonXmlProperty(localName = "is_subscribe")
	private String isSubscribe;
	@JacksonXmlProperty(localName = "pay_result")
	private Integer payResult;
	@JacksonXmlProperty(localName = "pay_info")
	private String payInfo;
	@JacksonXmlProperty(localName = "transaction_id")
	private String transactionId;
	@JacksonXmlProperty(localName = "out_transaction_id")
	private String outTransactionId;
	@JacksonXmlProperty(localName = "sub_is_subscribe")
	private String subIsSubscribe;
	@JacksonXmlProperty(localName = "trade_state_desc")
	private String tradeStateDesc;
	@JacksonXmlProperty(localName = "sub_appid")
	private String subAppid;
	@JacksonXmlProperty(localName = "sub_openid")
	private String subOpenid;
	@JacksonXmlProperty(localName = "out_trade_no")
	private String outTradeNo;
	@JacksonXmlProperty(localName = "total_fee")
	private Integer totalFee;
	@JacksonXmlProperty(localName = "cash_fee")
	private Integer cashFee;
	@JacksonXmlProperty(localName = "coupon_fee")
	private Integer couponFee;
	@JacksonXmlProperty(localName = "fee_type")
	private String feeType;
	@JacksonXmlProperty(localName = "attach")
	private String attach;
	@JacksonXmlProperty(localName = "bank_type")
	private String bankType;
	@JacksonXmlProperty(localName = "bank_billno")
	private String bankBillNo;
	@JacksonXmlProperty(localName = "time_end")
	private String timeEnd;
	@Override
	public String toString() {
		return "NotifyData [resultCode=" + resultCode + ", mchId=" + mchId + ", nonceStr=" + nonceStr + ", errCode="
				+ errCode + ", errMsg=" + errMsg + ", sign=" + sign + ", openid=" + openid + ", tradeType=" + tradeType
				+ ", isSubscribe=" + isSubscribe + ", payResult=" + payResult + ", payInfo=" + payInfo
				+ ", transactionId=" + transactionId + ", outTransactionId=" + outTransactionId + ", subIsSubscribe="
				+ subIsSubscribe + ", tradeStateDesc=" + tradeStateDesc + ", subAppid=" + subAppid + ", subOpenid="
				+ subOpenid + ", outTradeNo=" + outTradeNo + ", totalFee=" + totalFee + ", cashFee=" + cashFee
				+ ", couponFee=" + couponFee + ", feeType=" + feeType + ", attach=" + attach + ", bankType=" + bankType
				+ ", bankBillNo=" + bankBillNo + ", timeEnd=" + timeEnd + ", toString()=" + super.toString() + "]";
	}
	public Integer getResultCode() {
		return resultCode;
	}
	public void setResultCode(Integer resultCode) {
		this.resultCode = resultCode;
	}
	public String getMchId() {
		return mchId;
	}
	public void setMchId(String mchId) {
		this.mchId = mchId;
	}
	public String getNonceStr() {
		return nonceStr;
	}
	public void setNonceStr(String nonceStr) {
		this.nonceStr = nonceStr;
	}
	public String getErrCode() {
		return errCode;
	}
	public void setErrCode(String errCode) {
		this.errCode = errCode;
	}
	public String getErrMsg() {
		return errMsg;
	}
	public void setErrMsg(String errMsg) {
		this.errMsg = errMsg;
	}
	public String getSign() {
		return sign;
	}
	public void setSign(String sign) {
		this.sign = sign;
	}
	public String getOpenid() {
		return openid;
	}
	public void setOpenid(String openid) {
		this.openid = openid;
	}
	public String getTradeType() {
		return tradeType;
	}
	public void setTradeType(String tradeType) {
		this.tradeType = tradeType;
	}
	public String getIsSubscribe() {
		return isSubscribe;
	}
	public void setIsSubscribe(String isSubscribe) {
		this.isSubscribe = isSubscribe;
	}
	public Integer getPayResult() {
		return payResult;
	}
	public void setPayResult(Integer payResult) {
		this.payResult = payResult;
	}
	public String getPayInfo() {
		return payInfo;
	}
	public void setPayInfo(String payInfo) {
		this.payInfo = payInfo;
	}
	public String getTransactionId() {
		return transactionId;
	}
	public void setTransactionId(String transactionId) {
		this.transactionId = transactionId;
	}
	public String getOutTransactionId() {
		return outTransactionId;
	}
	public void setOutTransactionId(String outTransactionId) {
		this.outTransactionId = outTransactionId;
	}
	public String getSubIsSubscribe() {
		return subIsSubscribe;
	}
	public void setSubIsSubscribe(String subIsSubscribe) {
		this.subIsSubscribe = subIsSubscribe;
	}
	public String getTradeStateDesc() {
		return tradeStateDesc;
	}
	public void setTradeStateDesc(String tradeStateDesc) {
		this.tradeStateDesc = tradeStateDesc;
	}
	public String getSubAppid() {
		return subAppid;
	}
	public void setSubAppid(String subAppid) {
		this.subAppid = subAppid;
	}
	public String getSubOpenid() {
		return subOpenid;
	}
	public void setSubOpenid(String subOpenid) {
		this.subOpenid = subOpenid;
	}
	public String getOutTradeNo() {
		return outTradeNo;
	}
	public void setOutTradeNo(String outTradeNo) {
		this.outTradeNo = outTradeNo;
	}
	public Integer getTotalFee() {
		return totalFee;
	}
	public void setTotalFee(Integer totalFee) {
		this.totalFee = totalFee;
	}
	public Integer getCashFee() {
		return cashFee;
	}
	public void setCashFee(Integer cashFee) {
		this.cashFee = cashFee;
	}
	public Integer getCouponFee() {
		return couponFee;
	}
	public void setCouponFee(Integer couponFee) {
		this.couponFee = couponFee;
	}
	public String getFeeType() {
		return feeType;
	}
	public void setFeeType(String feeType) {
		this.feeType = feeType;
	}
	public String getAttach() {
		return attach;
	}
	public void setAttach(String attach) {
		this.attach = attach;
	}
	public String getBankType() {
		return bankType;
	}
	public void setBankType(String bankType) {
		this.bankType = bankType;
	}
	public String getBankBillNo() {
		return bankBillNo;
	}
	public void setBankBillNo(String bankBillNo) {
		this.bankBillNo = bankBillNo;
	}
	public String getTimeEnd() {
		return timeEnd;
	}
	public void setTimeEnd(String timeEnd) {
		this.timeEnd = timeEnd;
	}
	
}
